<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 5.3.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/sanmill-pages/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/sanmill-pages/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/sanmill-pages/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/sanmill-pages/images/logo.svg" color="#222">

<link rel="stylesheet" href="/sanmill-pages/css/main.css">


<link rel="stylesheet" href="/sanmill-pages/lib/font-awesome/css/font-awesome.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"calcitem.gitee.io","root":"/sanmill-pages/","scheme":"Muse","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}}};
  </script>

  <meta property="og:type" content="website">
<meta property="og:title" content="Sanmill 直棋">
<meta property="og:url" content="http://calcitem.gitee.io/index.html">
<meta property="og:site_name" content="Sanmill 直棋">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="Calcitem Studio">
<meta name="twitter:card" content="summary">

<link rel="canonical" href="http://calcitem.gitee.io/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : true,
    isPost : false,
    lang   : 'zh-CN'
  };
</script>

  <title>Sanmill 直棋</title>
  


  <script>
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?5c586bd36fe88406b6b5f5514aab60b1";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>




  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/sanmill-pages/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">Sanmill 直棋</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="menu">
        <li class="menu-item menu-item-home">

    <a href="/sanmill-pages/" rel="section"><i class="fa fa-fw fa-home"></i>首页</a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/sanmill-pages/archives/" rel="section"><i class="fa fa-fw fa-archive"></i>归档</a>

  </li>
  </ul>
</nav>




</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content index posts-expand">
            
      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="http://calcitem.gitee.io/2021/02/11/mill-game-rules/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/sanmill-pages/images/avatar.gif">
      <meta itemprop="name" content="Calcitem Studio">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Sanmill 直棋">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/sanmill-pages/2021/02/11/mill-game-rules/" class="post-title-link" itemprop="url">直棋规则</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>
              

              <time title="创建时间：2021-02-11 21:12:56 / 修改时间：22:34:13" itemprop="dateCreated datePublished" datetime="2021-02-11T21:12:56+08:00">2021-02-11</time>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <h1 id="直棋"><a href="#直棋" class="headerlink" title="直棋"></a>直棋</h1><p><strong>直棋</strong>（Morris），是流传于<a target="_blank" rel="noopener" href="https://zh.wikipedia.org/wiki/%E8%88%8A%E5%A4%A7%E9%99%B8">旧大陆</a>一类两人传统棋类的总称，吃子方式是像<a target="_blank" rel="noopener" href="https://zh.wikipedia.org/wiki/%E6%96%B9%E6%A3%8B">方棋</a>采用成型吃子，规则、棋名随各地略有不同，有最早纪录是公元一千四百年前的<a target="_blank" rel="noopener" href="https://zh.wikipedia.org/wiki/%E5%8F%A4%E7%BE%85%E9%A6%AC">古罗马</a>，通常棋盘为同心的数个<a target="_blank" rel="noopener" href="https://zh.wikipedia.org/wiki/%E6%AD%A3%E6%96%B9%E5%BD%A2">正方形</a>，并用直线或斜线将正方形方向相连面成。现已流传到世界和中国各地区，衍生出各种变种，中国国内有些地方叫“三棋”、“打三棋”、“成三棋”等。。</p>
<h1 id="简介"><a href="#简介" class="headerlink" title="简介"></a>简介</h1><p>其棋盘由3个大小不等的正方形按重心重合套在一起，最小的正方形完全空心，共24个棋眼。对弈双方各执9枚或12枚棋子（可以小石子等充当），双方棋子的颜色或形状应有区别。对战时，双方轮流布子，谁先三子成一线，谁就可提掉对方任何一子。谁的棋子少于3颗或无路可走时为输。</p>
<p>中国少数民族的人民在劳动之余，常在村口屯后屋前树下等等稍平整的地方随手用粉石画出棋盘呼朋唤友即便开张。对弈双方各持棋子若干，棋子可信手拿来，可以是小树枝、小石子、小瓦片、小纸团、小干果等，自己一方的棋子要一致，但要能够与对方互相区分。少数民族民间一直沿袭有下“三三棋”的习俗。老人们坐在桌子旁或者地上，一面聊天一面下棋，“三三”之声喊个不停。</p>
<h1 id="基本规则"><a href="#基本规则" class="headerlink" title="基本规则"></a>基本规则</h1><p>下棋分两阶段进行，即摆子阶段和走子阶段。</p>
<p>在摆子阶段，行棋一方争取把棋子连成三个一线而另一方则千方百计地阻挠，同时自己也要争取连三。</p>
<p>进入走子阶段后，双发轮流行棋。在某些规则变种中，后摆子者先走棋。行棋者每次可移动棋盘上任何一个已方可移动的棋子，每步只能移动一格，棋子只能移走到相邻的空交点处。</p>
<p>下棋行棋技巧：移动棋子的过程中，一方面要尽量向已方的棋子靠拢以做成“逢三”创造吃子的机会，或是试图将对方堵死，以少胜多。移动后“连三”即可吃对方在棋盘上的任意一子，把对方的子吃到只剩2颗即赢取胜利。或者就算没吃光对方的子，但能够把对方的子逼到无路可走，称为“困毙”或“闷棋”，也算赢棋。</p>
<p>三次重复局面，或在走子阶段连续50回合双发均未吃子，则和棋。</p>
<h1 id="规则变种"><a href="#规则变种" class="headerlink" title="规则变种"></a>规则变种</h1><h2 id="子数"><a href="#子数" class="headerlink" title="子数"></a>子数</h2><p>每一方的棋子数，一般有6、9、12等几种类型。</p>
<h2 id="棋盘斜线"><a href="#棋盘斜线" class="headerlink" title="棋盘斜线"></a>棋盘斜线</h2><p>分为棋盘有斜线和无斜线两种类型。</p>
<h2 id="先标后提"><a href="#先标后提" class="headerlink" title="先标后提"></a>先标后提</h2><p>当启用”禁点“规则时，每成功地连三一方将要吃的对方的子打标记（在 App 中被标记的棋子显示为阴影），暂时不能吃掉。双发手中无子可摆时，把被标记的子全部清理出棋盘，留下空点用于走子。</p>
<h2 id="优先吃散子"><a href="#优先吃散子" class="headerlink" title="优先吃散子"></a>优先吃散子</h2><p>为让后行方有反击手段，欧洲直棋规则的特点是限制只能优先吃散子，若无才可吃成三的子。可防走子阶段开始就一面倒，这亦增加可用弃子防御、阻碍散子等策略变化。多数中国的直棋类游戏是无限制吃散或成子。</p>
<h2 id="摆子完成后无子可走"><a href="#摆子完成后无子可走" class="headerlink" title="摆子完成后无子可走"></a>摆子完成后无子可走</h2><p>棋布完以后，若没有空棋位，有3种规则变种：</p>
<ul>
<li>可以拔去对方任何棋子一枚，再走棋子 （App 暂未实现）；</li>
<li>先摆子的判为输棋；</li>
<li>判为和棋。</li>
</ul>
<h2 id="先摆子的后走子"><a href="#先摆子的后走子" class="headerlink" title="先摆子的后走子"></a>先摆子的后走子</h2><p>某些棋规变种中，先摆子的后走子，后摆子的先走子，以削弱先手的优势。</p>
<h2 id="飞棋"><a href="#飞棋" class="headerlink" title="飞棋"></a>飞棋</h2><p>在欧美，十二子直棋与九子直棋一样，都有飞子规则，若己棋数剩3枚，可飞至任意空位处。</p>
<h1 id="参考"><a href="#参考" class="headerlink" title="参考"></a>参考</h1><p><a target="_blank" rel="noopener" href="https://zhuanlan.zhihu.com/p/146492201">小谈直棋</a></p>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="http://calcitem.gitee.io/2021/02/11/release-notes_v0.17.0/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/sanmill-pages/images/avatar.gif">
      <meta itemprop="name" content="Calcitem Studio">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="Sanmill 直棋">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/sanmill-pages/2021/02/11/release-notes_v0.17.0/" class="post-title-link" itemprop="url">Sanmill 直棋 版本 0.17.0 发行说明</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>
              

              <time title="创建时间：2021-02-11 12:25:27 / 修改时间：22:32:55" itemprop="dateCreated datePublished" datetime="2021-02-11T12:25:27+08:00">2021-02-11</time>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <p>发布时间: 2021年2月11日</p>
<h1 id="下载链接"><a href="#下载链接" class="headerlink" title="下载链接"></a>下载链接</h1><p><a target="_blank" rel="noopener" href="https://github.com/calcitem/Sanmill/releases/download/v0.17.0/app-release.apk">点击此处</a> 下载 Sanmill 直棋 0.17.0 for Android。</p>
<h1 id="已实现功能"><a href="#已实现功能" class="headerlink" title="已实现功能"></a>已实现功能</h1><p>此次发布的版本包含如下功能：</p>
<ul>
<li>实现了人机对战、双人对战、机器对战功能</li>
<li>支持设置多种棋规</li>
</ul>
<h1 id="暂未实现的功能"><a href="#暂未实现的功能" class="headerlink" title="暂未实现的功能"></a>暂未实现的功能</h1><ul>
<li>悔棋和棋局分析</li>
<li>游戏难度调整实际未生效</li>
<li>动画、声音和音效</li>
</ul>
<h1 id="已知问题"><a href="#已知问题" class="headerlink" title="已知问题"></a>已知问题</h1><p>如下为已知的遗留问题，将在后续发布的版本解决。</p>
<ul>
<li>当人类先行棋时，需要先点击 “新局”，才能开始下棋</li>
<li>配置无法保存</li>
<li>联网测试功能待移除</li>
</ul>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  


  



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  <p class="site-author-name" itemprop="name">Calcitem Studio</p>
  <div class="site-description" itemprop="description"></div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/sanmill-pages/archives/">
        
          <span class="site-state-item-count">2</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
  </nav>
</div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2021</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Calcitem Studio</span>
</div>

        








      </div>
    </footer>
  </div>

  
  <script src="/sanmill-pages/lib/anime.min.js"></script>
  <script src="/sanmill-pages/lib/velocity/velocity.min.js"></script>
  <script src="/sanmill-pages/lib/velocity/velocity.ui.min.js"></script>

<script src="/sanmill-pages/js/utils.js"></script>

<script src="/sanmill-pages/js/motion.js"></script>


<script src="/sanmill-pages/js/schemes/muse.js"></script>


<script src="/sanmill-pages/js/next-boot.js"></script>




  















  

  

</body>
</html>
